package cn.maihe.elg.operation.model.vo.system;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 * @Description
 * @Author caixh
 * @Date 2021/8/5.
 */
@ApiModel(value = "OCR")
@Data
public class OcrRespDTO {

    @ApiModelProperty(value = "OCR类型")
    @NotNull(message = "OCR类型不能为空")
    @Size(min=1, max = 20,message = "OCR类型长度不能超过20位")
    private String type;

    @ApiModelProperty(value = "图片信息")
    @NotNull(message = "图片信息不能为空")
    @Size(min=1,max = 50,message = "图片信息长度不能超过50位")
    private String code;
    private String msg;
    private String content;


}
